html * {
  padding: 0;
  margin: 0;
  border: none;
  box-sizing: border-box;
  /* font-family: 'Roboto', sans-serif; */
}

body {
  width: 300px;
  height: 500px;
  background: #efefef;
  text-align: center;
}

header {
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

header .logo {
  font-size: large;
  font-weight: 600;
}

footer {
  font-size: x-small;
  color: gray;
  padding: 30px;
}

main {
  min-height: 75vh;
}

main>section {
  margin-bottom: 10px;
  min-height: 50px;
  padding: 24px 0;
  background-color: white;
}

main>section h2 {
  font-weight: 600;
  font-size: 1.5em;
  margin: 0 0 12px 0;
}

section.switch .flag img {
  width: 130px;
  border: solid 1px lightgray;
  border-radius: 65px;
}

section.switch .flag img:hover {
  border: solid 1px gray;
  transition: all, .5s;
  cursor: pointer;
}

div.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 40px;
  margin-top: 20px;
}

div.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

div.switch .slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  /* (switch container height - slider height) /2 */
  left: 5px;
  bottom: 5px;
  background-color: white;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

div.switch .slider.round {
  border-radius: 56px;
}

div.switch .slider.round:before {
  border-radius: 50%;
}

div.switch input:checked+.slider {
  background-color: #2196F3;
}

div.switch input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

div.switch input:checked+.slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */

  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  height: 80%;
  width: 100%;
  /* border: 1px solid #888; */
  overflow: scroll;
}

.modal-content .modalButtons {
  text-align: end;
  padding: 0 12px;
}

/* The Close Button */
.modal-content .close {
  color: #aaa;
  /* float: right; */
  font-size: 28px;
  font-weight: bold;
}

.modal-content .close:hover,
.modal-content .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.countryList li {
  list-style: none;
  padding: 12px;
  display: flex;
  align-items: center;
  transition: all .5s;
}

.countryList li:hover {
  cursor: pointer;
  background-color: #d8d8d8;
}

.countryList li img {
  width: 48px;
}

.countryList li span {
  padding: 0 12px;
  font-weight: 400;
}

.shareButtons img {
  width: 36px;
}

.rating {
  unicode-bidi: bidi-override;
  direction: rtl;
  cursor: pointer;
}

.rating>span {
  font-size: xx-large;
  color: orange;
}

.rating>span:hover:before,
.rating>span:hover~span:before {
  content: "\2605";
  position: absolute;
}

.apps li {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
}

.apps li:hover {
  background-color: lightskyblue;
}

.apps img {
  width: 48px;
}

.apps span {
  padding: 0 12px;
}